package com.travel.photos.ui.travel;

import android.content.Context;

import com.travel.photos.bean.TravelBean;

import java.util.Map;

import rx.Subscriber;

/**
 * Created by Administrator on 2016/10/17.
 */
public class TravelContract {
    //契约类
    public interface View{
        public void getDetail(TravelAdapter adapter);
    }
    public interface Model{
        public void getDetail(Map<String, String> map,
                              Subscriber<TravelBean> subscriber);
    }

    public interface Presenter{
        public void getDetail(Context context);
    }

}
